<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>小米动画</title>
		<style type="text/css">
			.box {
				width: 992px;
				height: 460px;
				animation: donghua 20s linear infinite;
			}

			@keyframes donghua {

				0%,
				20% {
					background: url(./img/1.webp) no-repeat center/100% 100%;
				}

				30%,
				40% {
					background: url(./img/2.webp) no-repeat center/100% 100%;
				}

				50%,
				60% {
					background: url(./img/3.webp) no-repeat center/100% 100%;
				}

				70%,
				80% {
					background: url(./img/4.jpg) no-repeat center/100% 100%;
				}

				90%,
				100% {
					background: url(./img/5.webp) no-repeat center/100% 100%;
				}
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>